* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    color: #4a5568;
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #4a5568;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #667eea;
}

.main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 140px);
}

.card-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    text-align: center;
    max-width: 450px;
    width: 100%;
    transition: all 0.3s ease;
}

.card-container:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.avatar-section {
    position: relative;
    margin-bottom: 2rem;
}

.avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 4px solid #667eea;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.avatar:hover {
    transform: scale(1.05);
}

.online-status {
    position: absolute;
    bottom: 10px;
    right: 30px;
    width: 20px;
    height: 20px;
    background: #48bb78;
    border: 3px solid white;
    border-radius: 50%;
}

.info-section {
    margin-bottom: 2rem;
}

.name {
    font-size: 2rem;
    font-weight: bold;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.title {
    font-size: 1.2rem;
    color: #667eea;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.details {
    text-align: left;
}

.detail-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e2e8f0;
    color: #4a5568;
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-item i {
    width: 20px;
    margin-right: 1rem;
    color: #667eea;
}

.skills-section {
    margin-bottom: 2rem;
}

.skills-section h3 {
    text-align: left;
    margin-bottom: 1rem;
    color: #2d3748;
}

.skills-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-tag {
    background: #edf2f7;
    color: #4a5568;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

.contact-section {
    display: flex;
    gap: 1rem;
}

.contact-btn {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1rem;
}

.contact-btn.primary {
    background: #667eea;
    color: white;
}

.contact-btn.secondary {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.footer {
    background: rgba(255, 255, 255, 0.95);
    text-align: center;
    padding: 1.5rem;
    color: #4a5568;
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-menu {
        gap: 1rem;
    }
    
    .main-container {
        padding: 1rem;
    }
    
    .card-container {
        padding: 2rem;
        margin: 1rem;
    }
    
    .contact-section {
        flex-direction: column;
    }
    
    .avatar {
        width: 120px;
        height: 120px;
    }
    
    .name {
        font-size: 1.75rem;
    }
}

@media (max-width: 480px) {
    .card-container {
        padding: 1.5rem;
    }
    
    .skills-tags {
        justify-content: center;
    }
    
    .detail-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .detail-item i {
        margin-right: 0;
    }
}
/* 移动端优化 */
@media (max-width: 480px) { .card { margin: 10px; } }
